package com.penglecode.netty;

import java.io.Serializable;

public class ResponseEntity implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	private boolean success;
	
	private String msg;
	
	private Object returnValue;

	public boolean isSuccess() {
		return success;
	}

	public void setSuccess(boolean success) {
		this.success = success;
	}

	public String getMsg() {
		return msg;
	}

	public void setMsg(String msg) {
		this.msg = msg;
	}

	public Object getReturnValue() {
		return returnValue;
	}

	public void setReturnValue(Object returnValue) {
		this.returnValue = returnValue;
	}

	public String toString() {
		return "ResponseEntity [success=" + success + ", msg="
				+ msg + ", returnValue=" + returnValue + "]";
	}
	
}
